package com.wyp.design.principle.openclose;

/**
 * @author: yipeng.wang01@hand-china.com-25490
 * @TIME: 2019/12/24/15:44
 **/
public class JavaCourse implements ICourse {
    /**
     * 名字
     */
    private String name;
    /**
     * 名字
     */
    private String Id;
    /**
     * 名字
     */
    private Double price;

    public JavaCourse(String name, String id, Double price) {
        this.name = name;
        this.Id = id;
        this.price = price;
    }

    public double getPrice() {
        return this.price;
    }

    public String getName() {
        return this.name;
    }

    public String getId() {
        return this.Id;
    }
}
